﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VirtualHost.Models {
    public class HostSiteEntity {
        /// <summary>
        /// 主键
        /// </summary>
        public String Id { get; set; }
        /// <summary>
        /// 域名
        /// </summary>
        public String Domain { get; set; }
        /// <summary>
        /// 路径
        /// </summary>
        public String Path { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public String Name { get; set; }
        /// <summary>
        /// 证书
        /// </summary>
        public string Certificate { get;   set; }
        /// <summary>
        /// 证书密码
        /// </summary>
        public string CertificateKey { get;   set; }
        /// <summary>
        /// 首页
        /// </summary>
        public String Home { get;   set; }
        /// <summary>
        /// 日志目录
        /// </summary>
        public string Logs { get;   set; }
        /// <summary>
        /// 配置开始行
        /// </summary>
        public int StartIndex { get;   set; }
        /// <summary>
        /// 配置结束行
        /// </summary>
        public int EndIndex { get;   set; }
        /// <summary>
        /// Https加密协议
        /// </summary>
        public Boolean IsHttps { get;   set; }
        /// <summary>
        /// 端口
        /// </summary>

        public string Port { get;   set; }
    }
}
